package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 员工表 服务类
 * </p>
 *
 * @author author
 * @since 2024-07-16
 */
public interface IUserService extends IService<User> {

    void add(User user);

    void deleteById(Integer id);

    Page<User> selectPage(User user, Integer pageNum, Integer pageSize);
}
